{% extends 'style/base/base.html' %}{% load staticfiles %}
{% block content-header %}
  <section class="content-header">
    <h1>
      部门设置
      <small>操作面板</small>
    </h1>
    <ol class="breadcrumb">
      <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
      <li>系统设置</li>
      <li class="active">部门设置</li>
    </ol>
  </section>
{% endblock content-header %}

{% block content %}
  <hr>
  <section class="content">
    <div class="col-sm-12">
      <div class="box box-primary">
        <div class="box-header with-border">
          <h4>
            系统参数信息设置 <small> 请在各选项卡中填写所需要的顾客信息</small>
          </h4>
        </div>
          <div class="box-body">


                  {% csrf_token %}

                  {% for field in form %}
                    {% if  field.name not in ex_list %}
                      <div class="form-group">
                        <label class="col-sm-1 control-label">{{ field.label_tag }}</label>
                        <div class="col-sm-5">
                          {{ field }}
                        </div>
                        {{ field.errors }}
                      </div>
                    {% endif %}
                  {% endfor %}

          </div>
          <div class="box-footer">
            <input class="btn btn-primary center" type="submit" value="添加">
          </div><!-- /.col -->
      </div>
    </div>
  </section>
{% endblock content %}